package org.jeecg.modules.zonglzp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.zonglzp.entity.BusinesswaterEntity;
import org.jeecg.modules.zonglzp.entity.store;

import java.util.Map;


public interface BusinesswaterService {


    //查询我的报表
    IPage<BusinesswaterEntity> getBusinesswater(Page<BusinesswaterEntity> page, String starttime, String endtime, String storeCode, String userid,String orgCode,String storeId);

    //查询账号充值页面的金额内容
    Map<String, Object> getmoneydetail(String token);

    //账号充值页面某日流水
    IPage<BusinesswaterEntity> getonedaydetail(Page<BusinesswaterEntity> page, String userid, String today, String starttime, String endtime);


    //查询面料订单的业务流水信息
    IPage<BusinesswaterEntity> getmianliaobill(Page<BusinesswaterEntity> page, String starttime, String endtime, String storeCode, String userid, int ddstatus);

    //查询个订订单的业务流水信息
    IPage<BusinesswaterEntity> getgedingbill(Page<BusinesswaterEntity> page, String starttime, String endtime, String storeCode, String userid, int ddstatus);

    //查询完成或者未完成的
    IPage<BusinesswaterEntity> getBusinesswater(Page<BusinesswaterEntity> page, String starttime, String endtime, String storeCode, String userid, int ddstatus,String orgCode,String storeId);

    Double moneyStatistics(String starttime, String endtime, String storeCode, String userid, int ddstatus, String orgCode, String storeId);

    store getstoreDetailByorderSn(String orderSn);
}
